/*
 * 项   目：spring-boot-demo
 * 作   者：LuoYiMin
 * 邮   箱：1725990142@qq.com
 * 创建时间：2018/9/25 10:09
 */
package cn.roin.learn.demo.exception;

public class BusinessException extends RuntimeException{
    private int code = 0;
    public BusinessException() {
        super();
    }
    public BusinessException(int code) {
        super();
        this.code =code;
    }

    public BusinessException(String message) {
        super(message);
    }
    public BusinessException(int code,String message) {
        super(message);
        this.code = code;
    }

}
